package com.adams.custom.page.mgt;

/**
 * 
 * File Name : ViewTreeConfigDTO.java
 * 
 * @Description : 界面树显示设置对象
 */
public class ViewTreeConfigDTO
{

	public static String ID_FIELD = "id";
	public static String DISPLAN_FIELD = "text";
	public static String URL_FIELD = "url";
	public static String ICONCLS_FIELD = "iconCls";
	public static String ICON_FIELD = "icon";
	public static String TREE_LEAF = "leaf";
	public static String TREE_CHILDREN = "children";
	public static String TREE_CHECKED = "checked";

	/**
	 * Description : id对应的字段 此属性必须 Author : 904370
	 */
	private String idField;

	/**
	 * Description : 编码格式类型 ０—无编码格式、１—顺序码、２—层码； Author : 904370
	 */
	private String codetype = CODETYPE_PARENTID;
	public static String CODETYPE_LEVELCODE = "2";
	public static String CODETYPE_PARENTID = "1";

	/**
	 * Description : 编码对应的字段 当编码类型为2层码时需要提供 Author : 904370
	 */
	private String codeField;

	/**
	 * Description : 父级id对应的字段 当编码类型不为2层码时需要提供 Author : 904370
	 */
	private String parentidField;

	/**
	 * Description : text对应的字段 此属性必须 Author : 904370
	 */
	private String displayField;

	/**
	 * Description : url对应的字段 Author : 904370
	 */
	private String urlField;

	/**
	 * Description : 样式对应的字段 Author : 904370
	 */
	private String iconClsField;

	/**
	 * Description : 图片对应的字段 Author : 904370
	 */
	private String iconField;

	/**
	 * Description : 勾选框 Author : 904370
	 */
	private boolean checked;

	/**
	 * Description : 勾选对应的字段 Author : 904370
	 */
	private String checkedField;

	public String getIdField()
	{
		return idField;
	}

	public void setIdField(String idField)
	{
		this.idField = idField;
	}

	public String getDisplayField()
	{
		return displayField;
	}

	public void setDisplayField(String displayField)
	{
		this.displayField = displayField;
	}

	public String getUrlField()
	{
		return urlField;
	}

	public void setUrlField(String urlField)
	{
		this.urlField = urlField;
	}

	public String getIconClsField()
	{
		return iconClsField;
	}

	public void setIconClsField(String iconClsField)
	{
		this.iconClsField = iconClsField;
	}

	public String getIconField()
	{
		return iconField;
	}

	public void setIconField(String iconField)
	{
		this.iconField = iconField;
	}

	public String getCodetype()
	{
		return codetype;
	}

	public void setCodetype(String codetype)
	{
		this.codetype = codetype;
	}

	public String getCodeField()
	{
		return codeField;
	}

	public void setCodeField(String codeField)
	{
		this.codeField = codeField;
	}

	public String getParentidField()
	{
		return parentidField;
	}

	public void setParentidField(String parentidField)
	{
		this.parentidField = parentidField;
	}

	public boolean getChecked()
	{
		return checked;
	}

	public void setChecked(boolean checked)
	{
		this.checked = checked;
	}

	public String getCheckedField()
	{
		return checkedField;
	}

	public void setCheckedField(String checkedField)
	{
		this.checkedField = checkedField;
	}

}
